<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="layout" content="main"/>
  <title>${sectionInstance.name}</title>
</head>
<body>
<table class="nav">
  <tbody><tr>
    <td valign="middle" align="left">
      <strong>${sectionInstance.name}</strong>
    </td>

    <td valign="middle" align="right">
      [<g:link controller="topic" action="create" id="${sectionInstance.id}">Добавить сообщение</g:link>]

      [<g:link controller="comment" action="latest">Последние сообщения</g:link>]

      [<g:link controller="rules">Правила форума</g:link>]

      [<g:link action="rss" id="${sectionInstance.id}">RSS</g:link>]
    </td>
  </tr>
  </tbody></table>
<div class="body">
  <div class="dialog">
    <h1>${sectionInstance.name}</h1>
    Группы:
    <ul>
      <g:each in="${groups}" var="group">
        <li>
          <g:link controller="group" action="show" id="${group.id}">${group.title}</g:link> (${group.stat.join('/')})<g:if test="${group.info}">- <i>${group.info}</i></g:if>
        </li>
      </g:each>
    </ul>
  </div>
</div>
</body>
</html>
